package com.miku.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 文本记录表
 * @TableName text_record
 */
@TableName(value ="text_record")
public class TextRecord implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 文本任务id
     */
     @ApiModelProperty(value = "文本任务id")
    private Long textTaskId;

    /**
     * 文本内容
     */
     @ApiModelProperty(value = "文本内容")
    private String textContent;

    /**
     * 生成的文本内容
     */
     @ApiModelProperty(value = "生成的文本内容")
    private String genTextContent;

    /**
     * wait,running,succeed,failed
     */
     @ApiModelProperty(value = "wait,running,succeed,failed")
    private String status;

    /**
     * 执行信息
     */
     @ApiModelProperty(value = "执行信息")
    private String execMessage;

    /**
     * 创建时间
     */
     @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
     @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 是否删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    public Long getId() {
        return id;
    }

    /**
     * id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 文本任务id
     */
    public Long getTextTaskId() {
        return textTaskId;
    }

    /**
     * 文本任务id
     */
    public void setTextTaskId(Long textTaskId) {
        this.textTaskId = textTaskId;
    }

    /**
     * 文本内容
     */
    public String getTextContent() {
        return textContent;
    }

    /**
     * 文本内容
     */
    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }

    /**
     * 生成的文本内容
     */
    public String getGenTextContent() {
        return genTextContent;
    }

    /**
     * 生成的文本内容
     */
    public void setGenTextContent(String genTextContent) {
        this.genTextContent = genTextContent;
    }

    /**
     * wait,running,succeed,failed
     */
    public String getStatus() {
        return status;
    }

    /**
     * wait,running,succeed,failed
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 执行信息
     */
    public String getExecMessage() {
        return execMessage;
    }

    /**
     * 执行信息
     */
    public void setExecMessage(String execMessage) {
        this.execMessage = execMessage;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


}
